<?php
/**
 * 
 *
 * @copyright	Copyright 2009-2010   深圳市饭后科技有限公司
 * @license	LGPL (http://www.gnu.org/licenses/lgpl.html)
 * @author	XinHui Wang <wangxinhui@fanhougame.com
 * @package	家园守卫战{校友}
 * @version	2867
 * @link		http://fanhougame.com/
 */
?>
<form action="/install.php?m=install&amp;f=step3" method="post">
  <table align="center" class="table-6">
    <caption>生成配置文件</caption>
    <tbody><tr>
      <th class="w-p20">配置项</th>
      <th class="a-left">值</th>
    </tr>
    <tr>
      <th>PMS所在网站目录</th>
      <td><input type="text" class="text-3" value="/" id="webRoot" name="webRoot"> <a target="_blank" href="/install.php?m=help&amp;f=field&amp;t=html&amp;module=install&amp;method=step2&amp;field=webroot" class="helplink hidden cboxelement">?</a> 
</td>
    </tr>
    <tr>
      <th>URL方式</th>
      <td><select class="select-3" id="requestType" name="requestType">
<option selected="selected" value="GET">普通方式</option>
<option value="PATH_INFO">静态友好方式</option>
</select> <a target="_blank" href="/install.php?m=help&amp;f=field&amp;t=html&amp;module=install&amp;method=step2&amp;field=requesttype" class="helplink hidden cboxelement">?</a> 
</td>
    </tr>
    <tr>
      <th>默认语言</th>
      <td><select class="select-3" id="defaultLang" name="defaultLang">
<option selected="selected" value="zh-cn">中文简体</option>
<option value="zh-tw">中文繁體</option>
<option value="en">English</option>
</select> <a target="_blank" href="/install.php?m=help&amp;f=field&amp;t=html&amp;module=install&amp;method=step2&amp;field=defaultlang" class="helplink hidden cboxelement">?</a> 
</td>
    </tr>
    <tr>
      <th>数据库服务器</th>
      <td><input type="text" class="text-3" value="localhost" id="dbHost" name="dbHost"> <a target="_blank" href="/install.php?m=help&amp;f=field&amp;t=html&amp;module=install&amp;method=step2&amp;field=dbhost" class="helplink hidden cboxelement">?</a> 
如果localhost无法访问，尝试使用127.0.0.1</td>
    </tr>
    <tr>
      <th>服务器端口</th>
      <td><input type="text" class="text-3" value="3306" id="dbPort" name="dbPort"> <a target="_blank" href="/install.php?m=help&amp;f=field&amp;t=html&amp;module=install&amp;method=step2&amp;field=dbport" class="helplink hidden cboxelement">?</a> 
</td>
    </tr>
    <tr>
      <th>数据库用户名</th>
      <td><input type="text" class="text-3" value="root" id="dbUser" name="dbUser"> <a target="_blank" href="/install.php?m=help&amp;f=field&amp;t=html&amp;module=install&amp;method=step2&amp;field=dbuser" class="helplink hidden cboxelement">?</a> 
</td>
    </tr>
    <tr>
      <th>数据库密码</th>
      <td><input type="text" class="text-3" value="" id="dbPassword" name="dbPassword"> <a target="_blank" href="/install.php?m=help&amp;f=field&amp;t=html&amp;module=install&amp;method=step2&amp;field=dbpassword" class="helplink hidden cboxelement">?</a> 
</td>
    </tr>
    <tr>
      <th>PMS使用的库</th>
      <td><input type="text" class="text-3" value="zentao" id="dbName" name="dbName"> <a target="_blank" href="/install.php?m=help&amp;f=field&amp;t=html&amp;module=install&amp;method=step2&amp;field=dbname" class="helplink hidden cboxelement">?</a> 
</td>
    </tr>
    <tr>
      <th>建表使用的前缀</th>
      <td><input type="text" class="text-3" value="zt_" id="dbPrefix" name="dbPrefix"> <a target="_blank" href="/install.php?m=help&amp;f=field&amp;t=html&amp;module=install&amp;method=step2&amp;field=dbprefix" class="helplink hidden cboxelement">?</a> 
<span><input type="checkbox" value="0" name="clearDB[]"> <label>清空现有数据</label></span>
</td>
    </tr>
    <tr>
      <td class="a-center" colspan="2"> <input type="submit" class="button-s" value="保存" id="submit"> </td>
    </tr>
  </tbody></table>
</form>